package com.wx.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonInclude;

public class WechatUserAmount implements Serializable {
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Integer id;

	@JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer uid;

    private BigDecimal balance;

    private Double freeze;

    private Integer score;

    private Double totleConsumed;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Double getFreeze() {
        return freeze;
    }

    public void setFreeze(Double freeze) {
        this.freeze = freeze;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Double getTotleConsumed() {
        return totleConsumed;
    }

    public void setTotleConsumed(Double totleConsumed) {
        this.totleConsumed = totleConsumed;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uid=").append(uid);
        sb.append(", balance=").append(balance);
        sb.append(", freeze=").append(freeze);
        sb.append(", score=").append(score);
        sb.append(", totleConsumed=").append(totleConsumed);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}